package com.shiwaixiangcun.monitor.controller;

import com.shiwaixiangcun.core.web.response.ResponseEntity;
import com.shiwaixiangcun.monitor.service.WorkOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by Administrator on 2018-04-20.
 */
@Controller
public class MobileWorkOrderToFigureController {
    @Autowired
    private WorkOrderService workOrderService;


    /**
     * 数字大屏数据
     */
    @RequestMapping(value = "/mi/work/order/total", method = RequestMethod.GET)
    public ResponseEntity getWorkOrderToFigure() {
        return new ResponseEntity().success(workOrderService.getWorkOrderToFigure());
    }

}
